home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
22
/
4
/
DISK2247.ZIP
/
CBASE101.ZIP
/
BTREE101.ZIP
/
RLSNOTES.TXT
< prev
Wrap
Text File
|
1990-06-20
|
2KB
|
105 lines
----------------------------------------------------------------------
| Citadel |
| 241 East Eleventh Street * Brookville, IN 47012 * 317-647-4720 |
| BBS 317-647-2403 |
----------------------------------------------------------------------
In this file are summarized the additions and modifications made to
btree this release. Users upgrading from a previous release should
read it completely.
btree 1.0.1 Release Notes
-------------------------
o AC_* macros (see blkio release notes) used in place of __STDC__ to
detect ANSI compatibility.
o ~NULL replaced with (char *)NULL + 1 in btcursor macro because some
compilers would not accept the ~ operator on NULL.
o btlock bug fixed.
btree 1.0 Release Notes
-----------------------
o The btree library has been enhanced to recognize fields. This has
required changes in the btcreate and btopen parameter lists. The
original functions were
int btcreate(char *filename, size_t m, size_t keysize);
int btopen(char *filename, char *type,
int (*cmp)(const void *p1, const void *p2, size_t n));
The new functions are
int btcreate(char *filename, size_t m, size_t keysize,
int fldc, btfield_t btfldv[]);
int btopen(char *filename, char *type,
int fldc, btfield_t btfldv[]);
o btdelete and btdelcur set the cursor to null.
o btlock sets the cursor to null when unlocking.
o errno macro BTEDUPKEY shortened to BTEDUP
o The btree node links are of type bpos_t, and so changing bpos_t also
changed these links. See the blkio release notes for explanation of
the effects of this change.
o btkeycmp added to compare btree keys.
Citadel 90/06/20
o The btfix function has been added to fix corrupt btree files. This has
required a slight change in the btree file format.
o function prototypes used if __STDC__ == 1
o const used if __STDC__ == 1
o -A compiler option used in Turbo C installation batch file to set
__STDC__ to 1.
Citadel 90/06/20